Core-periphery structures in networks